<?php

namespace app\api\controller;

use think\response\Json;

class VideoCollection extends Base
{
    /**
     * 列表页面
     * @throws
     */
    public function getInfo(): Json
    {
        //外部参数
        $param = $this->request->param();

        //提交操作
        $response = app(\app\api\logic\VideoCollection::class)->getInfo($param);

        //返回
        return $this->response($response);
    }

    /**
     * 列表页面
     * @throws
     */
    public function getList(): Json
    {
        //外部参数
        $param = $this->request->param();

        //提交操作
        $response = app(\app\api\logic\VideoCollection::class)->getList($param);

        //返回
        return $this->response($response);
    }
}
